#include "CRay.h"

CRay::CRay(const CPoint3f& origin, const CVector3f& direction):m_origin(origin), m_direction(direction){}

CRay::CRay(){}

CRay::~CRay(){}

const CPoint3f& CRay::getOrigin()const{return m_origin;}

CPoint3f& CRay::getOrigin(){return m_origin;}

const CVector3f& CRay::getDirection()const{return m_direction;}

CVector3f& CRay::getDirection(){return m_direction;}

void CRay::setOrigin(const CPoint3f& p){m_origin = p;}

void CRay::setDirection(const CVector3f& d){m_direction = d;}